﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DirectMeterialDataLock.aspx.cs" Inherits="Hisun.View.Meterial.DirectMeterialDataLock" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
       <div class =" CommonPage_MainPanel">
    <div class ="CommonPage_Banner"><div class = "CommomPage_Title">盘存数据锁定</div></div>
    <div class ="CommonPage_Body">

            <table >
            <tr>
                <td class="style2">
                    <asp:Label ID="Label2" runat="server" SkinID="Label" Text="作业中心名称："></asp:Label>
                    <asp:TextBox ID="TextBox_CenterName" runat="server" SkinID="TextBox"></asp:TextBox>
                    <asp:Button SkinID = "Button" ID="Button_Query1" runat="server" onclick="Button_Query1_Click" 
                        Text="查询" />
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:Panel ID="Panel_Main" runat="server" Visible="False">
                        <asp:Button SkinID = "Button" ID="Button_AllSelect" runat="server" 
                            onclick="Button_AllSelect_Click" Text="全选" />
                        <asp:Button SkinID = "Button" ID="Button_UnSelect" runat="server" onclick="Button_UnSelect_Click" 
                            Text="清空" />
                        <asp:Button SkinID = "Button" ID="Button_Save" runat="server" onclick="Button_Save_Click" 
                            Text="确定" />
                        <asp:GridView ID="GridView_LockQuery" runat="server" AutoGenerateColumns="False" 
                            SkinID="GridView" Height="143px">
                            <Columns>
                                <asp:BoundField DataField="作业中心ID" HeaderText="作业中心ID" />
                                <asp:BoundField DataField="作业中心名称" HeaderText="作业中心名称" />
                                <asp:TemplateField HeaderText="锁定">
                                    <EditItemTemplate>
                                        <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("选择") %>'></asp:TextBox>
                                    </EditItemTemplate>
                                    <ItemTemplate>
                                        <asp:CheckBox ID="CheckBox_Lock" runat="server" SkinID="CheckBox" 
                                            Checked='<%# Eval("锁定") %>' />
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                        </asp:GridView>
                    </asp:Panel>
                </td>
            </tr>
        </table>
    </div></div>
    </form>
</body>
</html>
<% = alter %>